package com.movitech.mobile.cz.base.purchase.service.impl;

import com.movitech.mobile.cz.base.common.license.LicenseUtil;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormTechScoreDetals;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormTechScoreDetals;
import com.movitech.mobile.cz.base.purchase.mapper.WFlowFormTechScoreDetalsMapper;
import com.movitech.mobile.cz.base.purchase.mapper.ext.ExtWFlowFormTechScoreDetalsMapper;
import com.movitech.mobile.cz.base.purchase.service.WFlowFormTechScoreDetalsService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 流程表单-询标-技术标评分-打分详情 服务实现类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-05-03
 */
@Service
public class WFlowFormTechScoreDetalsServiceImpl extends ServiceImpl<WFlowFormTechScoreDetalsMapper, WFlowFormTechScoreDetals> implements WFlowFormTechScoreDetalsService {

    @Autowired
    private ExtWFlowFormTechScoreDetalsMapper extWFlowFormTechScoreDetalsMapper;

    @Override
    public List<ExtWFlowFormTechScoreDetals> getList(HashMap<String, String> hashMap) {
        LicenseUtil.INSTANCE.validate();
        return extWFlowFormTechScoreDetalsMapper.getList(hashMap);
    }

    @Override
    public List<ExtWFlowFormTechScoreDetals> getDitSupplierId(HashMap<String, String> hashMap) {
        LicenseUtil.INSTANCE.validate();
        return extWFlowFormTechScoreDetalsMapper.getDitSupplierId(hashMap);
    }
}
